package com.me.jingdongshop.ui.adapter;

import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.ViewGroup;

import com.me.common.ui.BaseAdapterRV;
import com.me.common.ui.BaseHolderRV;
import com.me.jingdongshop.model.bean.MessageBean;
import com.me.jingdongshop.ui.activity.MessageCenterActivity;
import com.me.jingdongshop.ui.holder.HomeHolder;
import com.me.jingdongshop.ui.holder.MessageHolder;

import java.util.List;

/**
 * Created by CJC on 2017/5/9.
 */

public class MessageAdapter extends BaseAdapterRV<MessageBean> {

    public MessageAdapter(Context context, List listData) {
        super(context, listData);
    }

    @Override
    public BaseHolderRV createViewHolder(Context context, ViewGroup parent, int viewType) {
        return new MessageHolder(context,parent,this,viewType);
    }
}
